package com.ruoyi.client.service.impl;

import com.ruoyi.client.mapper.ClassCategoriesMapper;
import com.ruoyi.client.pojo.vo.ClassCategoriesVo;
import com.ruoyi.client.service.ClassCategoriesService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ClassCategoriesServiceImpl implements ClassCategoriesService {
    @Resource
    private ClassCategoriesMapper classCategoriesMapper;
    @Override
    public List<ClassCategoriesVo> listCategories() {
        return classCategoriesMapper.listCategories();
    }
}
